package com.ingsing.user.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * @author: NALHOUG
 * @time: 2019/10/31 15:09
 * @explain:
 */
@Data
@TableName(value = "user")
public class User {
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField(value = "vip_id")
    private String vipId;

    @TableField(value = "admin_id")
    private String adminId;

    @TableField(value = "nickname")
    private String nickname;

    @TableField(value = "username")
    private String username;

    @TableField(value = "password")
    private String password;

    @TableField(value = "email")
    private String email;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "last_login")
    private Date lastLogin;

    @TableField(value = "register_time")
    private Date registerTime;

    @TableField(value = "is_delete")
    private Integer isDelete;




    public static final String COL_USER_ID = "user_id";

    public static final String COL_VIP_ID = "vip_id";

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_NICKNAME = "nickname";

    public static final String COL_USERNAME = "username";

    public static final String COL_PASSWORD = "password";

    public static final String COL_EMAIL = "email";

    public static final String COL_PHONE = "phone";

    public static final String COL_LAST_LOGIN = "last_login";

    public static final String COL_REGISTER_TIME = "register_time";

    public static final String COL_IS_DELETE = "is_delete";
}